<template>
  <PageContainer title="设备统计">
    <div class="device-statistics">
      <el-row :gutter="20">
        <el-col :span="6">
          <StatCard title="总设备数" :value="167" icon="Monitor" color="primary" />
        </el-col>
        <el-col :span="6">
          <StatCard title="在线设备" :value="156" icon="Monitor" color="success" />
        </el-col>
        <el-col :span="6">
          <StatCard title="离线设备" :value="8" icon="Monitor" color="danger" />
        </el-col>
        <el-col :span="6">
          <StatCard title="故障设备" :value="3" icon="Warning" color="warning" />
        </el-col>
      </el-row>
    </div>
  </PageContainer>
</template>

<script setup lang="ts">
import PageContainer from '@/components/PageContainer.vue'
import StatCard from '@/components/StatCard.vue'
</script>